# encoding = utf-8
module ApplicationHelper
  def title(basetitle)
    base_title = !basetitle.nil? ? basetitle : ''
    if @title.nil?
      base_title
    else
      "#{base_title} | #{@title}"
    end
  end
end
